Update dependency itsdangerous to v2 #18
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==0.24
->==2.2.0
Release Notes
pallets/itsdangerous (itsdangerous)
v2.2.0
Compare Source
Released 2024-04-16
372
pyproject.toml
instead ofsetup.cfg
.:pr:
326
flit_core
instead ofsetuptools
as build backend.__version__
attribute. Use feature detection, orimportlib.metadata.version("itsdangerous")
, instead. :issue:371
Serializer
and the return type ofdumps
is generic for type checking.By default it is
Serializer[str]
anddumps
returns astr
. If adifferent
serializer
argument is given, it will try to infer the returntype of its
dumps
method. :issue:347
hashlib.sha1
may not be available in FIPS builds. Don'taccess it at import time so the developer has time to change the default.
:issue:
375
v2.1.2
Compare Source
Released 2022-03-24
299
v2.1.1
Compare Source
Released 2022-03-09
296
v2.1.0
Compare Source
Released 2022-02-17
Drop support for Python 3.6. :pr:
272
Remove previously deprecated code. :pr:
273
instead.
import itsdangerous.json
: Importjson
from the standardlibrary instead.
v2.0.1
Compare Source
Released 2021-05-18
imports in user projects. :pr:
240
salt
argument toSerializer
andSigner
can beNone
again. :issue:237
v2.0.0
Compare Source
Released 2021-05-11
JSONWebSignatureSerializer
,TimedJSONWebSignatureSerializer
) is deprecated. Use a dedicatedJWS/JWT library such as authlib instead. :issue:
129
itsdangerous.json
is deprecated. Import Python'sjson
module instead. :pr:152
library, pass it as
Serializer(serializer=...)
. :issue:146
datetime
values are timezone-aware withtimezone.utc
. Codeusing
TimestampSigner.unsign(return_timestamp=True)
orBadTimeSignature.date_signed
may need to change. :issue:150
SignatureExpired
rather than appearing valid. This can happen ifthe timestamp offset is changed. :issue:
126
BadTimeSignature.date_signed
is always adatetime
objectrather than an
int
in some cases. :issue:124
secret_key
, oldest to newest. The newest key is used forsigning, all keys are tried for unsigning. :pr:
141
default_fallback_signers
. :issue:155
186
v1.1.0
Compare Source
Released 2018-10-26
113
release which defaulted to SHA-512. :pr:
114
support changing the default in the future without breaking existing
signatures. :pr:
113
in capitalization broke some tooling. :pr:
113
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.